/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jeff.springWebTestNG.ioc.configuration;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;
import org.springframework.context.annotation.ScopedProxyMode;

/**
 * Annotated @Congiguration bean can replace the XML-based bean factory
 * @author zhou.zhefu
 */
//@Configuration
public class ServiceConfig {
    
    @Bean
    @Scope(proxyMode= ScopedProxyMode.TARGET_CLASS)
    public AnnotationConfiguratedServiceA annotationConfiguratedServiceA() {
        return new AnnotationConfiguratedServiceA();
    }
}
